#pragma once
#include "analyzer.h"
#include <string>
#include <vector>
#include <nlohmann/json.hpp>

class PyDataLoader : public DataLoader {
public:
    PyDataLoader();
    ~PyDataLoader();
    
    std::vector<HistData> loadHistory(
        const std::string& code,
        const std::string& market,
        int days) override;
        
private:
    using Json = nlohmann::json;
    
    Json parseResponse(const std::string& jsonStr);
};